package com.unicom.microserv.contest.contest18_web.controller;
  



import com.unicom.microserv.contest.contest18_web.base.AppController;
import com.unicom.microserv.contest.contest18_web.param.Param;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import java.util.Map;


@RestController
//@RequestMapping(value="/web")
public class LoginController extends AppController {

	private  String packagename="sysmgr";

	@RequestMapping(value="/login",method={ RequestMethod.GET})
	public ModelAndView rootindex() {
		ModelAndView modelAndView=getindexview(packagename,"login","index");
		htmlContextInfo.setTitle("后台登录");
		return modelAndView;
	}

/*	@RequestMapping(value="/{controller}/{viewname}")
	public ModelAndView index( @PathVariable String controller, @PathVariable String viewname) {
		return getindexview(packagename,controller,viewname);
	}*/
}